<div>
    <a href="<{$xoops_url}>/modules/profile/search.php" title="<{$smarty.const._BACK}>"><{$smarty.const._SEARCH}></a> >> <{$smarty.const._PROFILE_MA_RESULTS}>
</div>
<br />
<{if $users}>
    <table>
        <tr>
            <{foreach item=caption from=$captions}>
                <th><{$caption}></th>
            <{/foreach}>
        </tr>
        <{foreach item=user from=$users}>
            <tr class="<{cycle values='odd, even'}>">
                <{foreach item=fieldvalue from=$user.output}>
                    <td><{$fieldvalue}></td>
                <{/foreach}>
            </tr>
        <{/foreach}>
    </table>
    
    <{$nav}>
<{else}>
    <div class="errorMsg">
        <{$smarty.const._PROFILE_MA_NOUSERSFOUND}>
    </div>
<{/if}>